package com.astrob.model;

import java.io.Serializable;

public class SearchParm implements Serializable {

	private static final long serialVersionUID = 123L;

	public String keyword = "";
	public String poiType = "";
	public int range;
	public int owner;
	public int type;
	public boolean isABC;
	public double dLon;
	public double dLat;

	public double dLonCar;//当前位置
	public double dLatCar;

	public static final double INVALID_LON = 180.0;
	public static final double INVALID_LAT = 90.0;

	public SearchParm() {
		revert();
	}

	public void revert() {
		keyword = "";
		poiType = "";
		owner = 0;
		type = 19; // 全部
		isABC = false;
		range = 0;
		dLon = INVALID_LON;
		dLat = INVALID_LAT;

		dLonCar = INVALID_LON;
		dLatCar = INVALID_LAT;
	}

}
